package com.prp.db.idao;

import java.util.List;

import com.prp.db.po.Msgboard;

public interface IMsgboardDAO {
	public void save(Msgboard transientInstance);

	public void delete(Msgboard persistentInstance);

	public Msgboard findById(java.lang.Integer id);

	public List findByExample(Msgboard instance);

	public List findByProperty(String propertyName, Object value);

	public List findByMsgFromId(Object msgFromId);

	public List findByMsgToId(Object msgToId);
	
	public List findByMsgInId(Object msgInId);

	public List findByContent(Object content);

	public List findAll();

	public List findByUnchecked(int toUserId);
	
	public Msgboard merge(Msgboard detachedInstance);

	public void attachDirty(Msgboard instance);

	public void attachClean(Msgboard instance);
}
